package com.hd123.rumba.action.qt;

import java.io.IOException;

import com.hd123.rumba.request.Action;
import com.hd123.rumba.request.ActionConstants;
import com.hd123.rumba.request.FileTooLargeException;

public class ViewDefinitionMultipart extends ViewQuery implements Action {

	public String prepareMultipart() throws IOException {
	    try {
	    	dd.prepareMultipartRequest();
	    } catch (FileTooLargeException e) {
	    	dd.addErrorText(e.getMessage());
	      return ActionConstants.FILETOOLARGE;
	    }
	    return null;
	  }
}
